import request from '@/utils/request'

// 用气量统计-列表
export function useGasList(query) {
    return request({
        url: `/system/meter/read/meterReadList`,
        method: 'get',
        params: query
    })
}
// 用气量统计
export function useGasListAll(query) {
    return request({
        url: `/system/meter/read/meterReadTotal`,
        method: 'get',
        params: query
    })
}
// 日用气量统计
export function dayGasListAll(query) {
    return request({
        url: `/system/dayUseAmount/meterReadTotalByDay`,
        method: 'get',
        params: query
    })
}
// 月用气量统计
export function monthGasListAll(query) {
    return request({
        url: `/system/monthUseAmount/meterReadTotalByMonth`,
        method: 'get',
        params: query
    })
}
// 日气量统计-列表
export function dayGasList(query) {
    return request({
        url: `/system/dayUseAmount/meterReadByDay`,
        method: 'get',
        params: query
    })
}
// 月用气量统计-列表
export function mouthGasList(query) {
    return request({
        url: `/system/monthUseAmount/meterReadByMonth`,
        method: 'get',
        params: query
    })
}